package com.nuaa.dao.inter;

import java.util.List;

import com.nuaa.domain.OrderEntity;

public interface OrderDao {

	/**
	 * 获取实体数量
	 * @param customNo
	 * @return
	 */
	public long count(String customNo);
	
	/**
	 * 查询所有订单
	 * @param customNo
	 * @param index
	 * @param last
	 * @return
	 */
	public List<OrderEntity> selectAll(String customNo, int index, int last);
}
